SmartPage

Vote Demo

GIVE US YOUR POINT OF VIEW

How do you feel ?

good
very good



[next demo]
[main] [Prefs menu] [Run Mode menu] [Parse For menu] [Admin] [E-mail me] [Registering]
THE VOTE BULLETIN

SmartPage can handle a special form on any page of your site !
IMPORTANT : When you are not in Preprocess Run Mode, you are restricted to any file placed in the root directory only.

You define your question and two answers. When the browser-user submit his answer, SmartPage counts it and returns the same page with the new results. In that case, the individual counter of the page is not incremented. The browser-user can not send twice a vote per visit on the page.

If the browser-user send a second vote, SmartPage returns the document titled "no1of2vote.html". You can of course change the content of the page but you must not place any special SmartPage tags because SmartPage don't recognize his special tags on this page. Sorry !

example :
<FORM>
<INPUT type="radio" name ="R" value =1>réponse1
<INPUT type="radio" name ="R" value =2>réponse2
<INPUT type="submit">
</FORM>

To print the results on the page, SmartPage has the following tags :
<!--1-->: first choice reply sum
<!--%1-->: first choice percent of reply
<!--2-->: second choice reply sum
<!--%2-->: second choice percent of reply

You can insert a comment tag that will be printed on the log before the vote result. This is how you must type this tag :

<!--r! here your comment !-->
where <!--r! are the tag starting characters and !--> are the tag ending characters. The comment is limited to 31 chars.